* {
	box-sizing: border-box;
}
html, body {
	height: 100%;	
}
body {
	font-size: 14px;
}
h1 {
	margin: 0;
}
.wrap {
	margin: 0 auto;
	padding: 24px 0;
	max-width: 1080px;
}

.wrap-sm {
	max-width: 450px;
}
.header {
	margin-bottom: 24px;
}
.header h1 {
	text-align: center;
	font-weight: normal;
	font-size: 18px;
}
.form {
	padding: 32px 24px;
    border-radius: 8px;
	box-shadow: 0 0 6px rgba(0,0,0,.1);
}
.form:hover {
	box-shadow: 0 0 12px rgba(0,0,0,.1);
}
.input-wrap {
	margin-bottom: 16px;
}
.input-wrap label {
	color: rgba(0,0,0,.54);
}
.input-control, button[type="submit"] {
	width: 100%;
	padding: 8px 16px;
	border-radius: 24px;
	outline: none;
}
.input-control {	
	margin: 8px 0;
	border: 1px solid #ccc;	
	transition: border-color .2s;
}
.input-control:focus {
	border-color: #fa5276;
}
.input-control::placeholder {
	color: rgab(0,0,0,.26);
}

.input-error {
	margin: 0;
	color: #fa5276;	
	display: none;
}

button[type="submit"] {
	background-color: #fa5276;
	color: rgba(255,255,255,.87);
	border: none;
	font-size: 14px;
	cursor: pointer;
	transition: all .2s;
}

button[type="submit"]:hover {
	opacity: .9;
}
button[type="submit"]:active {
	opacity: 1;
}

.required:after {
	margin-left: 4px;
	content: '*';
	color: #fa5276;
}